package com.cqjtu.tto.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cqjtu.tto.dao.pojo.Task;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.time.LocalDateTime;

@Repository
public interface TaskMapper extends BaseMapper<Task> {
    // 获取某个时间段内员工完成的任务数量
    Integer getEmployeeCompleteTaskCount(@Param("pDateTime") LocalDateTime pDateTime,
                                         @Param("cDateTime") LocalDateTime cDateTime,
                                         @Param("sysUserId") Long sysUserId);
}
